package ltd.hxya.novel.book.service;

import com.baomidou.mybatisplus.extension.service.IService;
import ltd.hxya.novel.book.dto.NewsInfoRespDto;
import ltd.hxya.novel.book.entity.NewsInfo;
import ltd.hxya.novel.book.utils.resp.RestResp;
import ltd.hxya.novel.common.bean.Result;

import java.util.List;

/**
 * 新闻资讯
 * @author ZWW
 * @since 2022-09-18
 */
public interface NewsInfoService extends IService<NewsInfo> {

    /**
     * 最新新闻列表查询接口(首页)
     */
    Result<List<NewsInfoRespDto>> listLatestNews();
}
